@extends('layout.main')

@section('head')
	@parent
	<link rel="stylesheet" type="text/css" href="/css/common.css">
@stop


@section('content')
<!-- 中间列表 -->
<div class="pusher">
	<div class="ui centered grid">

		<div class="twelve wide column">
			<table class="ui striped table">
				<thead>
					<tr>
						<th>标题</th>
						<th>发布时间</th>
					</tr>
				</thead>
				@forelse( $data as $item )
					<tr>
						<td class="left aligned" width="85%">
							<a target="_blank" href="{{ $item->url }}" data-tid="{{ $item->title_id }}">{{ $item->title }}</a></td>
						<td>{{ $item->pub_time }}</td>
					</tr>
				@empty
					暂无数据
				@endforelse
			</table>
		</div>
		<div class="twelve wide column">
			{!! $data->render() !!}
		</div>
	</div>
</div>

@stop

@section('foot')
	@parent
@stop